home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Indiana Jones
/
Indiana Jones.exe
/
RESOURCE
/
PREVIEW.GOB
/
cog_inf_johthing.cog
< prev
next >
Wrap
Text File
|
1999-11-15
|
1KB
|
66 lines
# Jones 3D Cog Script
#
# nub_Jewel.cog
#
# [TL]
#
# (C) 1999 LucasArts Entertainment Co. All Rights Reserved
#
# ========================================================================================
symbols
message startup
message entered
message exited
thing player local
thing plasma
thing padthing linkid=3
surface upsurf0 linkid=3
surface upsurf1 linkid=3
surface upsurf2 linkid=3
surface upsurf3 linkid=3
surface upsurf4 linkid=3
surface upsurf5 linkid=3
surface upsurf6 linkid=3
surface upsurf7 linkid=3
surface upsurf8 linkid=3
end
# ========================================================================================
code
startup:
player = GetLocalPlayerThing();
return;
# ........................................................................................
entered:
if ((GetSenderID() == 3) && (GetSourceRef() == player))
{
//print("Jewel is TRUE...");
JewelFlyingStatus(1, plasma);
}
return;
# ........................................................................................
exited:
if ((GetSenderID() == 3) && (GetSourceRef() == player))
{
//print("Jewel is FALSE...");
JewelFlyingStatus(0, plasma);
}
return;
# ........................................................................................
end